﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace IO
{
    class Program
    {
        static void Main(string[] args)
        {
            //DirectoryTest.GetDirectoryList(string.Empty);
            //DirectoryTest.CreateDirectory(@"D:\Test");

            //string sourceDirectory = @"D:\test1";
            //string targetDirectory = @"D:\test2";

            //DirectoryInfo diSource = new DirectoryInfo(sourceDirectory);
            //DirectoryInfo diTarget = new DirectoryInfo(targetDirectory);

            //DirectoryTest.CopyAll(diSource, diTarget);

            BinaryUtil.Write(@"D:\test.txt");
            BinaryUtil.Read(@"D:\test.txt");

            Console.ReadKey();
        }
    }
}
